#ifndef MOYOS_H
#define MOYOS_H

#include <QGraphicsItem>

class QRectF;

class Moyos : public QGraphicsItem
{
public:
    Moyos(int color);

    int getColor();

    QRectF boundingRect() const;
    QPainterPath shape() const;
    void paint(QPainter *painter,
               const QStyleOptionGraphicsItem *option, QWidget *widget);

private:
    int c; //pass parameter color
    QRectF *rect;
};

#endif // MOYOS_H
